// Generated from QLGrammar.g4 by ANTLR 4.5 package uva.sc.ql.parser; import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor; /** * This class provides an empty implementation of {@link QLGrammarVisitor}, * which can be extended to create a visitor which only needs to handle a subset * of the available methods. * * @param <T> * The return type of the visit operation. Use {@link Void} for * operations with no return type. */ public class QLGrammarBaseVisitor<T> extends AbstractParseTreeVisitor<T> implements QLGrammarVisitor<T> { /** * {@inheritDoc} * * <p> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. * </p> */ @Override public T visitForm(QLGrammarParser.FormContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * * <p> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. * </p> */ @Override public T visitStat(QLGrammarParser.StatContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * * <p> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. * </p> */ @Override public T visitQuestion(QLGrammarParser.QuestionContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * * <p> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. * </p> */ @Override public T visitTypeBoolean(QLGrammarParser.TypeBooleanContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * * <p> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. * </p> */ @Override public T visitTypeNumber(QLGrammarParser.TypeNumberContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * * <p> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. * </p> */ @Override public T visitTypeString(QLGrammarParser.TypeStringContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * * <p> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. * </p> */ @Override public T visitIf_stat(QLGrammarParser.If_statContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * * <p> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. * </p> */ @Override public T visitNot(QLGrammarParser.NotContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * * <p> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. * </p> */ @Override public T visitOr(QLGrammarParser.OrContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * * <p> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. * </p> */ @Override public T visitAnd(QLGrammarParser.AndContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * * <p> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. * </p> */ @Override public T visitUnaryMinus(QLGrammarParser.UnaryMinusContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * * <p> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. * </p> */ @Override public T visitRelational(QLGrammarParser.RelationalContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * * <p> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. * </p> */ @Override public T visitMultiplication(QLGrammarParser.MultiplicationContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * * <p> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. * </p> */ @Override public T visitAtomium(QLGrammarParser.AtomiumContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * * <p> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. * </p> */ @Override public T visitEquality(QLGrammarParser.EqualityContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * * <p> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. * </p> */ @Override public T visitAdditive(QLGrammarParser.AdditiveContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * * <p> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. * </p> */ @Override public T visitParenthesis(QLGrammarParser.ParenthesisContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * * <p> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. * </p> */ @Override public T visitNumber(QLGrammarParser.NumberContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * * <p> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. * </p> */ @Override public T visitBoolean(QLGrammarParser.BooleanContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * * <p> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. * </p> */ @Override public T visitId(QLGrammarParser.IdContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * * <p> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. * </p> */ @Override public T visitString(QLGrammarParser.StringContext ctx) { return visitChildren(ctx); } }